package org.dromara.Nyt7FarmerInsuranceInfo.mapper;

import org.apache.ibatis.annotations.Select;
import org.dromara.Nyt7FarmerInsuranceInfo.domain.Nyt7FarmerInsuranceInfo;
import org.dromara.Nyt7FarmerInsuranceInfo.domain.Nyt7FarmerInsuranceInfo2;
import org.dromara.Nyt7FarmerInsuranceInfo.domain.vo.Nyt7FarmerInsuranceInfoVo;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;

/**
 * 农户投保信息Mapper接口
 *
 * @author Lion Li
 * @date 2024-12-27
 */
public interface Nyt7FarmerInsuranceInfoMapper2 extends BaseMapperPlus<Nyt7FarmerInsuranceInfo2, Nyt7FarmerInsuranceInfoVo> {

    @Select("select * from nyt_7_farmer_2 where farmer_id = #{id}")
    Nyt7FarmerInsuranceInfo2 selectByFarmerId(Long id);
}
